package com.flca.frw.zk.helper;

import com.flca.frw.context.RequestContext;
import com.flca.frw.zk.util.WindowBase;

public abstract class BaseDetailCtrl extends WindowBase {

	private static final long serialVersionUID = 3668686457787524476L;

	private Object target;

	@Override
	protected void updateModel() {
	}

	@Override
	protected void updateModelFromToView(boolean updateView) {
	}

	@Override
	protected void updateView() {
	}

	@Override
	public boolean validate() {
		return true;
	}

	protected RequestContext makeContext() {
		return new RequestContext();
	}

	public Object getTarget() {
		return target;
	}

	public void setTarget(Object target) {
		this.target = target;
	}
}
